package com.geyue.core.service.impl;

import com.geyue.common.base.service.impl.BaseServiceImpl;
import com.geyue.core.mapper.Live_StudentMapper;
import com.geyue.core.mapper.StudentMapper;
import com.geyue.core.model.Live_Student;
import com.geyue.core.model.Student;
import com.geyue.core.service.Live_StudentService;
import com.geyue.core.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Chen on 2017/3/27.
 */
@Service
public class Live_StudentServiceImpl extends BaseServiceImpl<Live_Student> implements Live_StudentService {

    @Autowired
    private Live_StudentMapper live_studentMapper;

    @Override
    public Live_Student getLive_Student(int liveVedioId, int stuId) {

        return live_studentMapper.getLive_Student(liveVedioId,stuId);
    }

    @Override
    public int deleteLiveStudent(int liveVedioId, int stuId,int type) {

        return live_studentMapper.deleteLiveStudent(liveVedioId,stuId,type);
    }
}
